ImagePicker

data class ImagePicker(val sourceType: <Error class: unknown class> = UIImagePickerControllerSourceType.UIImagePickerControllerSourceTypePhotoLibrary, val mediaType: Set<NavigationSpec.ImagePicker.MediaType> = setOf(MediaType.IMAGE), val navigationDelegate: <Error class: unknown class>, val imagePickerDelegate: <Error class: unknown class>, val animated: Boolean = false, val completion: () -> Unit? = null) : NavigationSpec

Presents a UIImagePickerController to the parent

Parameters

sourceType

the UIImagePickerControllerSourceType to pick

mediaType

Set of allowed MediaTypes to pick

navigationDelegate

The UINavigationControllerDelegateProtocol added to the UIImagePickerController

imagePickerDelegate

The UIImagePickerControllerDelegateProtocol added to the UIImagePickerController

animated

Specifies whether transition should be animated

completion

Optional function called when presentation is completed

Constructors

Link copied to clipboard
constructor(sourceType: <Error class: unknown class> = UIImagePickerControllerSourceType.UIImagePickerControllerSourceTypePhotoLibrary, mediaType: Set<NavigationSpec.ImagePicker.MediaType> = setOf(MediaType.IMAGE), navigationDelegate: <Error class: unknown class>, imagePickerDelegate: <Error class: unknown class>, animated: Boolean = false, completion: () -> Unit? = null)

Types

Link copied to clipboard

The type of media that can be picked

Properties

Link copied to clipboard
val animated: Boolean = false
Link copied to clipboard
val completion: () -> Unit? = null
Link copied to clipboard
val imagePickerDelegate: <Error class: unknown class>
Link copied to clipboard
Link copied to clipboard
val navigationDelegate: <Error class: unknown class>
Link copied to clipboard
val sourceType: <Error class: unknown class>